//
//  ProgramIntroducedTableViewCell.m
//  RainbowFM
//
//  Created by Kratos on 14/12/8.
//  Copyright (c) 2014年 RB. All rights reserved.
//

#import "ProgramIntroducedListTableViewCell.h"
#import "UIImageView+Circle.h"

@implementation ProgramIntroducedListTableViewCell

- (void)awakeFromNib {
    [_headImageView showAsCircle];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)updateContents:(ProgramItem *)item
{
    [_headImageView sd_setImageWithURL:[NSURL URLWithString:item.PICURL] placeholderImage:nil];
    
    [_titleLabel setText:item.ACTNAME];
    
    [_introdycedLabel setText:item.ACTDESC];
}

@end
